import React from 'react'
import './index.css'
// import { Link } from 'react-router';

class Home extends React.Component {
  componentWillMount(){
    alert(this.props.match.params.name)
  }

  render() {
    return (
      <div>
        <a href='/login'>login</a>
        <br/>
        {/* <Link to={{ path : ' /jumpTest' , query : { name : 'sunny' }}}>jumpTest</Link> */}
      </div>
    );
  }
}
export default Home 
